<ion-view>
  <div class="workbench-header">
    <img src="img/logo_workbench.png" class="xyt">
    <div class="bar bar-header item-input-inset workbench-search">
      <label class="item-input-wrapper bg-white" ui-sref="workbenchSearch">
        <i class="icon ion-ios-search placeholder-icon" style="font-size: 17px;margin-top: 2px;"></i>
        <input type="text" placeholder="订单查询" readonly>
      </label>
    </div>
    <img src="img/bell.png" class="bell" ui-sref="message">
  </div>
  <ion-content>
    <div>
      <ion-slide-box style="height: 180px;" does-continue="true" auto-play="true" slide-interval="2000">
        <ion-slide>
          <img src="img/s-1.png">
        </ion-slide>
        <ion-slide>
          <img src="img/s-3.png">
        </ion-slide>
        <ion-slide>
          <img src="img/s-2.png">
        </ion-slide>
      </ion-slide-box>
    </div>
    <div class="workbench-list">
      <div class="col" ui-sref="addOrder">
        <div class="light-bg positive icon" style="background-color: #7bbef7;">
          <img src="img/placeOrder.png">
        </div>
        <div class="text">下单</div>
      </div>
      <div class="col" ui-sref="searchTab.dot">
        <div class="light-bg positive icon" style="background-color: #f792c6;">
          <img src="img/search.png">
        </div>
        <div class="text">查询</div>
      </div>
      <div class="col" ui-sref="insurance">
        <div class="light-bg positive icon" style="background-color: #73aede;">
          <img src="img/insurance.png">
        </div>
        <div class="text">投保</div>
      </div>
      <div class="col" ui-sref="myOrder">
        <div class="light-bg positive icon" style="background-color: #f7aa84;">
          <img src="img/order.png">
        </div>
        <div class="text">我的订单</div>
      </div>
      <div class="col" ui-sref="myReceipt">
        <div class="light-bg positive icon" style="background-color: #addf7b;">
          <img src="img/sign.png">
        </div>
        <div class="text">我的收货</div>
      </div>
      <div class="col" ui-sref="payment">
        <div class="light-bg positive icon" style="background-color: #e75d5a;">
          <img src="img/payment.png">
        </div>
        <div class="text">快捷支付</div>
      </div>
    </div>
    <div class="white"></div>
    <div class="item item-input processTitle">
      <img src="img/process.png">
      <i class="dark">最新进程</i>
    </div>
    <div ng-if="fristProcess!=undefined" ng-click="recordClick(fristProcess.orderId)" class="newProcess">
      <div>
        <i>{{fristProcess.orderNo}}</i>
        <i class="date">{{fristProcess.record[0].CREATE_DATE | date : "MM-dd HH:mm"}}</i>
      </div>
      <div class="content">
        <i>【{{fristProcess.record[0].WAYBILL_NODE}}】操作部门:{{fristProcess.record[0].BELONG_NAME}} 操作人:{{fristProcess.record[0].USER_NAME}}</i>
      </div>
    </div>
    <div ng-if="fristProcess==undefined&&showloading==false;"class="noProcess">暂无最新进程</div>
  </ion-content>
</ion-view>
